package com.example.springcloudfeign.module.test;

import com.example.springcloudfeign.module.test.impl.BalancedFeignImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(value = "user-center",fallback = BalancedFeignImpl.class)
public interface BalancedFeign {
    @RequestMapping(value = "/test", method = RequestMethod.GET)
    String sayFromClientOne();
}
